{% extends "base.html" %}
	{% block title %}List : {{ this.name }}{% endblock %}
	{% block main %}
		<p><a href="/zenith/add_list/">添加列表</a></p>
		<p><a href="/zenith/add_file/">添加文件</a></p>
		<p><a href="/zenith/file_list/{{ this.parent }}/">返回上层</a></p>
		<table>
			<tr>
				<td>名称</td>
				<td>{{ this.name }}</td>
			</tr>
			<tr>
				<td>创建时间</td>
				<td>{{ this.startdate }}</td>
			</tr>
			<tr>
				<td>描述</td>
			</tr>
			<tr>
				<td>{{ this.description }}</td>
			</tr>
		</table>
		{% if rec_list %}
			<table>
			{% for each_record in rec_list %}
					<tr>
						<td>
							<a href="/zenith/file_list/{{ each_record.abbr }}/">{{ each_record.name }}</a>
						</td>
					</tr>
			{% endfor %}
			</table>
		{% else %}
			<p>No files or file lists yet.</p>
		{% endif %}
	{% endblock %}
